﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace PersonHealth.View
{
    /// <summary>
    /// DetectionPage.xaml 的交互逻辑
    /// </summary>
    public partial class DetectionPage : Page
    {
        public DetectionPage()
        {
            InitializeComponent();
        }
        //血压测量页面
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            //NavigationService.Navigate(new Uri("View/BloodPressure.xaml", UriKind.RelativeOrAbsolute));
            NavigationService.Content = new BloodPressure();
        }
        //
        private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            //NavigationService.Navigate(new Uri("View/BloodSugar.xaml", UriKind.RelativeOrAbsolute));
            NavigationService.Content = new BloodSugar();
        }

        private void Button_Click_2(object sender, RoutedEventArgs e)
        {
            
            //NavigationService.Navigate(new Uri("View/BloodOximeter.xaml", UriKind.RelativeOrAbsolute));
            NavigationService.Content = new BloodOximeter();
        }

        private void Button_Click_3(object sender, RoutedEventArgs e)
        {
           // NavigationService.Navigate(new Uri("View/Temperature.xaml", UriKind.RelativeOrAbsolute));
            NavigationService.Content = new Temperature();
        }

        private void Button_Click_4(object sender, RoutedEventArgs e)
        {
            //NavigationService.Navigate(new Uri("View/ECG.xaml", UriKind.RelativeOrAbsolute));
            NavigationService.Content = new ECG();
        }
    }
}
